import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// // 引入全局css初始化插件
// import "normalize.css";

// 引入并配置FastClick
import FastClick from "fastclick";
if ("addEventListener" in document) {
  document.addEventListener(
    "DOMContentLoaded",
    function () {
      FastClick.attach(document.body);
    },
    false
  );
}

// 引入并配置vant组件
import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);


Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
